package org.cst8277.ums.util;


import lombok.experimental.UtilityClass;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.helpers.MessageFormatter;

@UtilityClass
public final class StringFormatUtil {

    public static final String format(String message, Object... args) {
        return MessageFormatter.arrayFormat(StringUtils.stripToEmpty(message), args).getMessage();
    }
}
